package com.acegear.horizon.domain.models.vo;

import com.acegear.horizon.domain.models.jpa.AGDaily;

/**
 * Created by mercury on 2016/12/26.
 */
public class DailyVO {
    private Long dailyId;

    private Long date;

    private String background;

    public DailyVO(AGDaily agDaily) {
        this(agDaily.getDailyId(), agDaily.getDate(), agDaily.getBackground());
    }

    public DailyVO(Long dailyId, Long date, String background) {
        this.dailyId = dailyId;
        this.date = date;
        this.background = background;
    }

    public Long getDailyId() {
        return dailyId;
    }

    public void setDailyId(Long dailyId) {
        this.dailyId = dailyId;
    }

    public Long getDate() {
        return date;
    }

    public void setDate(Long date) {
        this.date = date;
    }

    public String getBackground() {
        return background;
    }

    public void setBackground(String background) {
        this.background = background;
    }
}
